cmake_minimum_required(VERSION 3.5.1)

project(scanport LANGUAGES C VERSION 0.0.1)

add_executable(${PROJECT_NAME} main.c)


add_subdirectory(lib/SocketUtils)
add_subdirectory(lib/Thread)
add_subdirectory(lib/FinalC)

target_include_directories(${PROJECT_NAME} PRIVATE
    ${SocketUtils_INCLUDE_DIRS}
    ${Thread_INCLUDE_DIRS}
    ${FinalC_INCLUDE_DIRS}
)
target_link_libraries(${PROJECT_NAME}
    ${SocketUtils_LIBRARIES}
    ${Thread_LIBRARIES}
    ${FinalC_LIBRARIES}
)